package com.gnerv.battle.boot.module.base.repository.mapper;

import com.gnerv.battle.boot.module.base.model.entity.RoleDataPermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Gnerv LiGen
 */
@Mapper
public interface RoleDataPermissionMapper {

    int insert(@Param(value = "roleDataPermission") RoleDataPermission roleDataPermission);

    int deleteByRoleUkId(@Param(value = "roleUkId") String roleUkId);

    int updateByRoleUkId(@Param(value = "roleDataPermission") RoleDataPermission roleDataPermission);

    RoleDataPermission selectByRoleUkId(@Param(value = "roleUkId") String roleUkId);

}




